/**
 * 左侧菜单栏
 * 根据用户权限进行分类
 */
import UserType from './userType';
let SideBarItems = {};
// 路由管理，consloe报错是因为设置多个/admin，并且呈现蓝色。后期添加路由可修改
SideBarItems.items = [
    {
        //指标预选
        userType:UserType.admin,
        icon:"el-icon-s-data",
        // title:"可视化大屏",
        title:"",
        index:0,
        data:[
            {
                index:"/preview",  
                // title:"预选"
                title:""
            },
            {
                index:"/schedule",
                // title:"安排表"
                title:""
            }
        ]
    },
    {
        //信息
        userType:UserType.admin,
        icon:"el-icon-data-line",
        // title:"公告",
        title:"",
        index:1,
        data:[
            {
                index:"/announcenment",
                // title:"公告"
                title:""
            },
            {
                index:"/peopleGet",
                // title:"催人领",
                title:""
            }
        ]
    }
];
export default SideBarItems;
